package com.elock.entity;

import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.elock.base.core.entity.BaseEntity;

/**
 * Entity - 电子围栏终端设备关联
 * @author 仁德
 */
@Entity
@Table(name = "terminal_electronic_fence")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "terminal_electronic_fence_sequence")
public class TerminalElectronicFence extends BaseEntity {

	private static final long serialVersionUID = 1386745660360951034L;

	/** 终端设备id */
	private Long terminalId;

	/** 终端设备编号 */
	private String terminalNum;

	/** 电子围栏id */
	private Long electronicFenceId;

	/**  
	 * 获取terminalId  
	 * @return terminalId terminalId  
	 */
	public Long getTerminalId() {
		return terminalId;
	}

	/**  
	 * 设置terminalId  
	 * @param terminalId terminalId  
	 */
	public void setTerminalId(Long terminalId) {
		this.terminalId = terminalId;
	}

	/**  
	 * 获取terminalNum  
	 * @return terminalNum terminalNum  
	 */
	public String getTerminalNum() {
		return terminalNum;
	}

	/**  
	 * 设置terminalNum  
	 * @param terminalNum terminalNum  
	 */
	public void setTerminalNum(String terminalNum) {
		this.terminalNum = terminalNum;
	}

	/**  
	 * 获取electronicFenceId  
	 * @return electronicFenceId electronicFenceId  
	 */
	public Long getElectronicFenceId() {
		return electronicFenceId;
	}

	/**  
	 * 设置electronicFenceId  
	 * @param electronicFenceId electronicFenceId  
	 */
	public void setElectronicFenceId(Long electronicFenceId) {
		this.electronicFenceId = electronicFenceId;
	}

}
